home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_100 / 121_01 / ccc.doc < prev    next >
Text File  |  1985-08-19  |  2KB  |  67 lines

  1.  
  2.      CCC (1)                   BDS C Users' Group                   CCC (1)
  3.  
  4.  
  5.  
  6.      NAME        NAME 
  7.           ccc - a command driver for BDS C 
  8.  
  9.      SYNOPSIS        SYNOPSIS 
  10.           ccc                                                               ccc [global flags] <file> [flags] <file> [flags] ...  
  11.  
  12.      DESCRIPTION        DESCRIPTION 
  13.           ___                                                                    Ccc is a command driver for BDS C.  It takes global flags, 
  14.           and one or more sets of local flags plus filenames.  It 
  15.           builds a submit file which will compile all the files with 
  16.           an extension of .c, and link the output with the remaining 
  17.           files, using the l2 linker.  
  18.           If the global flag -n is NOT present, CP/M SUBMIT is then 
  19.           invoked to process the file.  
  20.           Identifiable global compiler flags are propagated to all 
  21.           compile steps; other global flags are propagated to all link 
  22.           steps.  Similarly, identifiable local compiler flags are 
  23.           passed to the compile step; other local flags are passed to 
  24.           the link step.  
  25.  
  26.      CAVEATS        CAVEATS 
  27.           This program was tested with v1.50 of the BDS C compiler 
  28.           under CP/M 2.2.  It should work with other versions of BDS C 
  29.           and CP/M, but has not been tested.  
  30.  
  31.      EXAMPLES        EXAMPLES 
  32.           ccc -e6100 pencil.c printer.c driver -l crayon queue
  33.                compiles pencil & printer, externals at 6100, linking in others
  34.  
  35.      FILES        FILES 
  36.           cc.com,l2.com,cc.sub 
  37.  
  38.      BUGS        BUGS 
  39.           The l2 flags -m, -org, -ovl cannot be used, since they would 
  40.           be passed to the compiler.  
  41.           Flags to the C compiler must not have a space between 
  42.           themselves and their argument, otherwise they would be taken 
  43.           as filenames.  
  44.  
  45.      NOTES        NOTES 
  46.           Requires local.c for link.  
  47.  
  48.           The link step uses the L2 linker; by changing a #define, it 
  49.           is possible to use CLINK.  However, this is not advisable, 
  50.           due to conflicts with the -o, -d, and -r flags.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.                                       -1-
  66.  
  67. e BDS C compiler